def add(x,y,func):
    return func(x) + func(y)
print(add(2,5,abs)) #7
def square(x):
    return x*x
print(add(4,5,square)) #41
